package router

import "github.com/gin-gonic/gin"

func SystemRouter(router *gin.Engine) {
	api := router.Group("api")
	{
		userRouter := api.Group("users")
		chatRoomRouter := api.Group("chat-rooms")
		chatGroupRouter := api.Group("chat-groups")

		userGroup(userRouter)
		chatRoomGroup(chatRoomRouter)
		chatGroupGroup(chatGroupRouter)
	}
}
